package simonxianyu.boot.mybatis.base;

import java.util.Date;

/**
 * 包含时间的持久类的基类
 */
abstract public class TimedPo {

  @BatisConditionIgnore
  private Date createdAt;
  @BatisConditionIgnore
  private Date updatedAt;

  public Date getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(Date createdAt) {
    this.createdAt = createdAt;
  }

  public Date getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(Date updatedAt) {
    this.updatedAt = updatedAt;
  }
}
